#coding:utf-8
from django.contrib import admin
from .models import Users
# Register your models here.

class UserAdmin(admin.ModelAdmin):
    list_display = ['username', 'email', 'sex', 'date_joined']
    list_filter = ['username']
    search_fields = ['username']
    list_per_page = 5


admin.site.register(Users, UserAdmin)